import Vue from 'vue'
import Router from 'vue-router'
import HelloWorld from '@/components/HelloWorld'
import xin2 from '@/components/xin2'
import xin3 from '@/components/xin3'

Vue.use(Router)

export default new Router({
  mode:'history',
  routes: [
    {
      path: '/',
      name: 'HelloWorld',
      component: HelloWorld
    },
	{
	  path: '/02',
	  name: 'xin2',
	  component: xin2
	},
  {
    path: '/03',
    name: 'xin3',
    component: xin3
  }
  ]
})
